/**
 * Created by Well
 * Date-Time: 2022-02-13
 * E-mail: well634890@126.com
 */

import { request } from 'umi';

export async function getArea(params, options) {
  return request('/api/area/tree', {
    method: 'GET',
    params: { ...params },
    ...(options || {}),
  });
}
